<style>
    .panel-fieldlist .fieldlist dd ins {
        width: 20%;
    }

    .panel-fieldlist .fieldlist dd input, .panel-fieldlist .fieldlist dd select {
        width: 100%;
    }

    .list-group-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .groups {
        display: flex;
        align-items: center;
    }

    .title {
        font-weight: bold;
        font-size: 16px;
    }

    .list-group .list-group-item .label {
        padding: 5px 10px;
    }

    .table-goods > thead > tr > th, .table-goods > tbody > tr > th, .table-goods > thead > tr > td, .table-goods > tbody > tr > td {
        vertical-align: middle;
    }

    .order-status {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .print-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    @media print {
        .electronics, .btn-print-page, .memo-operate {
            display: none;
        }
    }
</style>
<div id="app">
    <div class="panel panel-default">
        <div class="panel-heading">

        </div>
        <div class="panel-body">
            <div class="row">
                <div class="col-xs-6">
                    <ul class="list-group">

                        <li class="list-group-item">
                                类型：
                                {if $row['type']==1}
                                成本返还
                                {elseif $row['type'] == 2}
                                订单分佣
                                {elseif $row['type'] == 3}
                                提现
                                {elseif $row['type'] == 4}
                                提现退回
                                {/if}

                        </li>
                        <li class="list-group-item">代理商：{$row.agent.username}</li>
                        <li class="list-group-item">变动金额：{$row.money}</li>
                        <li class="list-group-item">余额：{$row.balance}</li>
                        <li class="list-group-item">时间：{$row.createtime|datetime}</li>




                    </ul>
                </div>
                <div class="col-xs-6">
                    <ul class="list-group">
                        <li class="list-group-item">订单号：{$row.order.order_sn}</li>
                        <li class="list-group-item">实付金额：{$row.order.pay_amount}</li>
                        <li class="list-group-item">成本：{$row.order.cost}</li>
                        <li class="list-group-item">分佣系数：
                            {if $row['type']==2}{$row.order.ratio*100}%{/if}
                            </li>
                        <li class="list-group-item">支付方式：
                            {if $row['order']['pay_type']==1}
                            微信支付
                            {elseif $row['order']['pay_type'] == 2}
                            余额支付
                            {/if}
                        <li class="list-group-item">
                        支付时间：
                        {if $row['type']==1 || $row['type']==2}{$row.order.payment_time|datetime}{/if}</li>
                        <li class="list-group-item">核销时间：{$row.order.audit_time}</li>
                        <li class="list-group-item">
                            <div class="groups">
                                <span style="min-width: 75px;">备注信息：</span>
                                <div>{$row.remark}</div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>


